package com.gitee.sop.mongodb;

import java.util.Map;
import java.util.Set;

/**
 * @author: Admin
 * @date: 2021/3/3
 * @description:
 * @copyright: 重庆万蓝兴科技有限公司
 */
public class MongoDTO {

    /**
     * 当前页
     */
    private int current = 1;
    /**
     * 每页数
     */
    private int size = 10;

    /**
     * 查询参数信息
     */
    private Set<MongoLike> queryParams;

    /**
     * 排序信息
     */
    private Map<String, String> sortParams;


    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public Set<MongoLike> getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(Set<MongoLike> queryParams) {
        this.queryParams = queryParams;
    }

    public Map<String, String> getSortParams() {
        return sortParams;
    }

    public void setSortParams(Map<String, String> sortParams) {
        this.sortParams = sortParams;
    }
}
